package gov.pbc.nn.kjgl.fxq.organProblem.entity;

import gov.pbc.nn.core.entity.BaseEntity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.bstek.dorado.annotation.PropertyDef;

/**
 * 任务管理业务中的任务实体
 * 
 * @author Administrator
 * 
 */
@Entity
@Table(name = "T_FXQ_ORGAN_PROBLEM_ENTTIY")
public class OrganProblemEntity extends BaseEntity {

	private static final long serialVersionUID = -7157848560756067290L;

	@Column(name = "PROBLEM_TYPE_", length = 200)
	@PropertyDef(label = "问题类别")
	private String problemType;
	
	@Column(name = "ORGAN_ID_", length = 60)
	@PropertyDef(label = "义务机构ID")
	private String organId;
	
	@Column(name = "ORGAN_NAME_", length = 256)
	@PropertyDef(label = "义务机构名称")
	private String organName;
	
	@Column(name = "ORGAN_CODE_", length = 256)
	@PropertyDef(label = "义务机构编码")
	private String organCode;	
	
	@Column(name = "REMARK_", length = 520)
	@PropertyDef(label = "简要描述")
	private String remark;
	
	@Column(name = "DEPT_ID_", length = 60)
	private String deptId;
	
	@Column(name = "DEPT_NAME_", length = 200)
	@PropertyDef(label = "所属部门")
	private String deptName;
	
	@Column(name = "STATE_")
	@PropertyDef(label = "状态", description = "0:新增；10:暂存；20：提交；")
	private int state;
	
	@Column(name = "SUBMIT_DATE_")
	@PropertyDef(label = "提交时间")
	private Date submitDate;

	public String getProblemType() {
		return problemType;
	}

	public void setProblemType(String problemType) {
		this.problemType = problemType;
	}

	public String getOrganId() {
		return organId;
	}

	public void setOrganId(String organId) {
		this.organId = organId;
	}

	public String getOrganName() {
		return organName;
	}

	public void setOrganName(String organName) {
		this.organName = organName;
	}

	public String getOrganCode() {
		return organCode;
	}

	public void setOrganCode(String organCode) {
		this.organCode = organCode;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public Date getSubmitDate() {
		return submitDate;
	}

	public void setSubmitDate(Date submitDate) {
		this.submitDate = submitDate;
	}

	
}
